package com.swipemaster.moves;

import com.swipemaster.common.Coords;

/**
 * Abstract class describing move of element.
 */
public class Move
{
	public Move()
	{
	}
	
	/**
	 * Should be abstract, but Gson has problems with polymorphism.
	 * 
	 * @param coords Actual coords of element.
	 * @return New coords, where the element should move.
	 */
	public Coords getNextCoords(Coords coords)
	{
		throw new RuntimeException("You can't call abtract methods.");
	}
}
